#pragma once
#include "DXAMLCommon.h"
#include "IPALUri.h"


class IPALCrossDomainPolicy
{
public:
	virtual XUINT32 AddRef() = 0;
	virtual XUINT32 Release() = 0;
	virtual HRESULT IsValid() = 0;
	virtual HRESULT CheckPolicy(IPALUri *baseUri, IPALUri *requestedUri, CXString *pstrReqHeaders, CXString *pstrVerb, unsigned int bAuth, int *pfAllowed) = 0;
	virtual HRESULT IsExpired() = 0;
};